package com.baicaoyuan.web.request.br;

import com.baicaoyuan.web.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "com.baicaoyuan.web.request.br.BAddAccountRequest", description = "添加账号信息(token)")
public class BAddAccountRequest extends BaseRequest {

    @ApiModelProperty(value = "支付宝信息", required = true)
    private AliPayInfo aliPayInfo;

    @ApiModelProperty(value = "银行卡信息", required = true)
    private BankInfo bankInfo;

    @Data
    public static class AliPayInfo {
        @ApiModelProperty(value = "支付宝姓名")
        private String accountName;

        @ApiModelProperty(value = "支付宝账号")
        private String account;
    }

    @Data
    public static class BankInfo {
        @ApiModelProperty(value = "银行还开户人姓名")
        private String accountName;
        @ApiModelProperty(value = "银行账号")
        private String account;
        @ApiModelProperty(value = "类型 银行特用")
        private String accountType;
        @ApiModelProperty(value = "开户行 银行特用")
        private String accountAddress;
    }
}
